<!--
 * @Descripttion: 
 * @Author: voanit
 * @Date: 2022-08-05 09:46:25
 * @LastEditors: voanit
 * @LastEditTime: 2022-08-29 08:31:48
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    :root {
      --geek-tt: red;
      --geek-bg: green;
      --geek-ft: 50px;
    }

    div.box1 {
      color: var(--geek-tt);
      background-color: var(--geek-bg);
      font-size: var(--geek-ft);
    }

    div.box2 {
      color: var(--geek-tt);
      background-color: var(--geek-bg);
      font-size: var(--geek-ft);
    }
  </style>
</head>

<body>
  <div class="box1">
    box1
  </div>
  <div class="box2">
    box2
  </div>
</body>

</html>